package com.wise.entities.content;

import com.wise.framework.basic.IEnum;

/**
 * @author Pitaya
 * @date 2019-07-31
 */
public enum ResourceType implements IEnum<Integer> {
    /**
     * 图片，视频
     */

    IMAGE(1, "图片"),VIDEO(2, "视频");

    private Integer value;

    private String title;

    ResourceType(Integer value,String title){
        this.value = value;
        this.title=title;
    }

    @Override
    public Integer value() {
        return value;
    }

    @Override
    public String title() {
        return title;
    }
}
